package com.att.service.impl;

import com.att.bean.DepNumRunBean;
import com.att.dao.DepNumRunDaoMapper;
import com.att.service.DepNumRunService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
@Service("depNumRunService")
public class DepNumRunServiceImpl implements DepNumRunService {

    @Resource
    private DepNumRunDaoMapper depNumRunDaoMapper;

    @Override
    public boolean insert(DepNumRunBean bean) {
        return depNumRunDaoMapper.insert(bean);
    }

    @Override
    public boolean update(DepNumRunBean bean) {
        return depNumRunDaoMapper.update(bean);
    }

    @Override
    public DepNumRunBean findDepNumRunBean(DepNumRunBean bean) {
        return depNumRunDaoMapper.findDepNumRunBean(bean);
    }
}
